package tk.mybatis.simple.common;

import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.SelectProvider;
import tk.mybatis.simple.provider.SelectMethodProvider;

import java.util.List;

/**
 * @author liuzh
 * @since 2017/10/8.
 */
public interface BaseMapper<T> {

    @SelectProvider(type = SelectMethodProvider.class, method = "select")
    List<T> select(T entity);

}
